package com.ruoyi.facilityStatus.mapper;

import com.ruoyi.facilityInfo.domain.FacilityInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 设施状态Mapper接口
 * 
 * @author ruoyi
 * @date 2024-07-04
 */
@Mapper
public interface FacilityStatusMapper
{
    /**
     * 查询设施状态
     * 
     * @param facilityId 设施状态主键
     * @return 设施状态
     */
    public FacilityInfo selectFacilityInfoByFacilityId(Long facilityId);

    /**
     * 查询设施状态列表
     * 
     * @param facilityInfo 设施状态
     * @return 设施状态集合
     */
    public List<FacilityInfo> selectFacilityInfoList(FacilityInfo facilityInfo);

    /**
     * 新增设施状态
     * 
     * @param facilityInfo 设施状态
     * @return 结果
     */
    public int insertFacilityInfo(FacilityInfo facilityInfo);

    /**
     * 修改设施状态
     * 
     * @param facilityInfo 设施状态
     * @return 结果
     */
    public int updateFacilityInfo(FacilityInfo facilityInfo);

    /**
     * 删除设施状态
     * 
     * @param facilityId 设施状态主键
     * @return 结果
     */
    public int deleteFacilityInfoByFacilityId(Long facilityId);

    /**
     * 批量删除设施状态
     * 
     * @param facilityIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFacilityInfoByFacilityIds(Long[] facilityIds);
}
